-
Home
-
CommonsBooking
-
2.10.5
-
Code
-
Classes
- Booking
| Total Complexity |
128 |
| Dependencies |
21 |
| Dependents |
18 |
| Total lines |
994 |
| Lines of code |
509 |
| Logical lines of code |
268 |
| Comment lines |
354 |
| Methods |
48 |
| Properties |
1 |
Methods 48
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getBookingChain() |
A |
53 |
11 |
26 |
| isValid() |
A |
44 |
9 |
44 |
| assignBookableTimeframeFields() |
A |
45 |
7 |
45 |
| getDuration() |
S |
55 |
6 |
20 |
| bookingNotice() |
S |
55 |
6 |
19 |
| formattedBookingCode() |
S |
60 |
6 |
13 |
| pickupDatetime() |
S |
53 |
5 |
23 |
| hasTotalBreakdown() |
S |
53 |
5 |
23 |
| returnDatetime() |
S |
54 |
5 |
21 |
| adjacent() |
S |
53 |
4 |
24 |
| canCancel() |
S |
62 |
4 |
12 |
| getStatus() |
S |
63 |
4 |
11 |
| filterTermsApply() |
S |
59 |
3 |
15 |
| setOverbookedDays() |
S |
59 |
3 |
14 |
| termsApply() |
S |
61 |
3 |
11 |
| getMoveableLocation() |
S |
62 |
3 |
11 |
| getBookableTimeFrame() |
S |
59 |
2 |
14 |
| cancel() |
S |
61 |
2 |
13 |
| sanitizeTimeField() |
S |
65 |
2 |
9 |
| getItem() |
S |
71 |
2 |
6 |
| getLocation() |
S |
71 |
2 |
6 |
| getOverbookedDays() |
S |
69 |
2 |
7 |
| formattedBookingDate() |
S |
65 |
2 |
9 |
| bookingLink() |
S |
69 |
2 |
6 |
| isOrphaned() |
S |
70 |
2 |
7 |
| isPast() |
S |
69 |
2 |
7 |
| getCancellationDateDateTime() |
S |
69 |
2 |
7 |
| getTotalDuration() |
S |
69 |
2 |
7 |
| getBookingCode() |
S |
79 |
1 |
3 |
| sendCancellationMail() |
S |
75 |
1 |
4 |
| showBookingCodes() |
S |
79 |
1 |
3 |
| getAdjacentBookings() |
S |
72 |
1 |
5 |
| getFormattedStartDate() |
S |
75 |
1 |
4 |
| getFormattedEndDate() |
S |
75 |
1 |
4 |
| getStartDate() |
S |
78 |
1 |
3 |
| getEndDate() |
S |
78 |
1 |
3 |
| returnComment() |
S |
80 |
1 |
3 |
| bookingLinkUrl() |
S |
78 |
1 |
3 |
| isCancelled() |
S |
80 |
1 |
3 |
| isUserPrivileged() |
S |
76 |
1 |
4 |
| getiCal() |
S |
72 |
1 |
5 |
| getEmailSignature() |
S |
74 |
1 |
5 |
| getFormattedUserInfo() |
S |
73 |
1 |
5 |
| getFormattedEditLink() |
S |
77 |
1 |
3 |
| appendToInternalComment() |
S |
66 |
1 |
7 |
| isConfirmed() |
S |
80 |
1 |
3 |
| isUnconfirmed() |
S |
80 |
1 |
3 |
| filterForUser() |
S |
70 |
1 |
6 |